package com.xyht.sca_s.student_manage_system.modules.inform.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class SmsInformVo implements Serializable {
    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "事件类型:  0紧急事件;1:普通事件")
    private String eventType;

    @ApiModelProperty(value = "通知类型:  0:校园通知;1:班级通知;2:部门通知")
    private String notificationType;

    @ApiModelProperty(value = "事件主题")
    private String eventTopic;

    @ApiModelProperty(value = "通知内容")
    private String content;

    @ApiModelProperty(value = "通知范围：1:组织2:角色3:人员")
    private Integer noticeType;

    private List<SmsClassInformOrgVo> classInformOrgVoList;

    private List<SmsClassInformRoleVo> classInformRoleVoList;

    private List<SmsExamineUserInfoVo> classInformPersonVoList;

    @ApiModelProperty(value = "通知范围：人员")
    private String personnelId;

    @ApiModelProperty(value = "上传文件")
    private String uploadFiles;

    @ApiModelProperty(value = "发布人")
    private String issuerId;

    @ApiModelProperty(value = "发布人信息")
    private SmsExamineUserInfoVo issuerUserInfo;

    @ApiModelProperty(value = "发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty(value = "截止时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty(value = "是否已读:0:否;1:是")
    private String isRead;

    @ApiModelProperty(value = "是否小程序轮播图  0：否  1：是")
    private Integer isBanner;

    private String banner;

    @ApiModelProperty(value = "封面图")
    private String cover;

    @ApiModelProperty(value = "发布人头像")
    private String  issuerFace;

    @ApiModelProperty(value = "收藏")
    private Integer collect;

    @ApiModelProperty(value = "收藏状态:0:取消,1:收藏")
    private Integer collectStatus;

    @ApiModelProperty(value = "点赞")
    private Integer likes;

    @ApiModelProperty(value = "点赞状态:0:取消,1:点赞")
    private Integer likesStatus;

    @ApiModelProperty(value = "浏览人信息")
    private List<SmsExamineUserInfoVo> smsExamineUserVo;

    @ApiModelProperty(value = "浏览总数")
    private Integer viewCount;
}
